hook_pc1 1 3c45e6 3c45e8
hook_pc2 1 -1 -1

hook_rd1 1 -1 -1
hook_rd2 1 -1 -1

hook_wr1 0 8000 801f
hook_wr2 1 -1 -1

; -----------------------------------------------------------------
; -----------------------------------------------------------------

; Add notes down here

; Comments:
;
; mode = 0/1/2 [0 = memory map, 1 = rom, 2 = i/o port]
; lower address (in hex)
; upper address (in hex)

Memory map means $0000-ffff range.


Tip:
The PC logger takes a 'START' and 'STOP' address.
That means it blindly logs instructions to 'hook.txt' until it sees the STOP address.

Using 'hook_pc1 1 3c45e6 -1' will begin logging at $3c45e6 ROM but will never terminate.